package com.yunzheng.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author 郭思良
 * @create 2020-08-06 9:23
 */


@Data
public class ChangePuserRoleDTO {

	@NotBlank(message = "项目组ID不能为空")
	private String projectId;

	@NotBlank(message = "用户ID不能为空")
	private String userId;


	@NotBlank(message = "角色ID不能为空")
	@Min(2)
	@Max(3)
	private String roleId;
}
